package com.example.pkmedical.Fragments;

import android.content.Intent;
import android.view.View;
import android.widget.Button;


import com.example.pkmedical.APP.MyApp;
import com.example.pkmedical.Activity.rollovershock.RolloverActivity;
import com.example.pkmedical.Activity.rollovershock.RolloverActivityNew;
import com.example.pkmedical.Activity.rollovershock.ShockActivity;
import com.example.pkmedical.Activity.rollovershock.ShockActivityNew;
import com.example.pkmedical.Base.BaseFragment;
import com.example.pkmedical.R;

import butterknife.BindView;
import butterknife.OnClick;

public class FbzlFragment extends BaseFragment {

    @BindView(R.id.fbzl_one_cf_bt)
    Button fbzlOneCfBt;
    @BindView(R.id.fbzl_one_qjzd_bt)
    Button fbzlOneQjzdBt;

    @Override
    public int setLayoutId() {
        return R.layout.fragment_fbzl;
    }

    @Override
    public void findViewById(View view) {

    }

    @Override
    public void setViewData(View view) {

    }

    @Override
    public void setClickEvent(View view) {

    }

    @OnClick({R.id.fbzl_one_cf_bt, R.id.fbzl_one_qjzd_bt})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.fbzl_one_cf_bt:
                startActivity(new Intent(MyApp.getAppContext(), RolloverActivityNew.class));
//                getActivity().overridePendingTransition(R.anim.fade_in, R.anim.fade_out);
                break;
            case R.id.fbzl_one_qjzd_bt:
                startActivity(new Intent(MyApp.getAppContext(), ShockActivityNew.class));
//                getActivity().overridePendingTransition(R.anim.fade_in, R.anim.fade_out);
                break;
        }
    }
}
